Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improves the security in ImagePicker #32

Merged
merged 11 commits into from
Sep 23, 2015
Merged

Conversation

RamonGilabert
Copy link
Contributor

We got some crashes because we were using ! a lot. Now we are not using it anywhere, pretty much.

BONUS:

  • Now it compiles again in the simulator, it wasn't compiling the project.
  • Deletes unneeded icons.
  • Now the fetching is the correct one and is a bit smarter.

@@ -21,7 +21,7 @@ public class ImagePickerController: UIViewController {

lazy public var galleryView: ImageGalleryView = { [unowned self] in
let galleryView = ImageGalleryView()
galleryView.delegate = self
//galleryView.delegate = self
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RamonGilabert what's going on here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OH FUCK.

@RamonGilabert
Copy link
Contributor Author

@zenangst fixed.

zenangst added a commit that referenced this pull request Sep 23, 2015
Improves the security in ImagePicker
@zenangst zenangst merged commit c16fc17 into master Sep 23, 2015
@zenangst zenangst deleted the improvements/security branch September 23, 2015 11:40
@zenangst
Copy link
Contributor

@RamonGilabert 🌵

@richardtop
Copy link
Contributor

Didn't have time to comment, spotted this PR only now. Will apply changes in a new PR then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants